<%@ page language = "java" import = "java.util.*" import = 
"javax.servlet.http.Cookie" %>

<%@ include file = "header.jspf" %>

<html>
<title>logging out...</title>
<body>
<h1>logging out...</h1>

<%
cookies = request.getCookies();

if(cookies != null && cookies.length == 2)
{
  name = cookies[1].getName();
}

Cookie sessionCookie = new Cookie(name,"0");
sessionCookie.setMaxAge(7200);
response.addCookie(sessionCookie);
out.println("<meta http-equiv=REFRESH content=0;url=index.jsp>");
%>

</body>
</html>
